#Persistent
#NoEnv
+f::
follow(1)
return

+g::
assist(1)
return

+1::
ControlSend ,,1,1
return
+2::
ControlSend ,,2,1
Return

+3::
ControlSend ,,3,1
Return

+4::
ControlSend ,,4,1
Return

+5::
ControlSend ,,5,1
Return

+a::
ControlSend ,,a,1
Return

+d::
ControlSend ,,d,1
Return
follow(name)
{
;~ 	ControlSend ,,{Enter},%name%
;~ 	Sleep ,500
;~ 	ControlSend ,,/follow hidder,%name%
;~ 	Sleep ,100
;~ 	ControlSend ,,{Enter},%name%
	ControlSend ,,=,%name%
}

assist(name)
{
	ControlSend ,,{Enter},%name%
	Sleep ,500
	ControlSend ,,/target hidder,%name%
	Sleep ,100
	ControlSend ,,{Enter},%name%

	ControlSend ,,{Enter},%name%
	Sleep ,500
	ControlSend ,,/assist,%name%
	Sleep ,100
	ControlSend ,,{Enter},%name%
}